package com.xtedu.examproject.dao.base;

import com.xtedu.examproject.entity.Menu;

import java.sql.SQLException;
import java.util.List;

public interface MenuDao extends BaseDao<Menu>{
    List<Menu> findMenusByRoleId(int roleId) throws Exception;
    int findIdByNameAndPath(String name, String path) throws SQLException;
}
